﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 动作表
    /// </summary>
	[Table("FW_Action")]
    [Display(Name = "动作表", Description = "动作表")]
    [AutoMapFrom(typeof(ViewFWAction))] 
    public partial class FWActionEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("ActionGUID")]
        [Display(Name = "动作表主键", Description = "动作表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 对应的功能GUID
        /// </summary>
		[Display(Name = "对应的功能GUID", Description = "对应的功能GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }   

		/// <summary>
        /// 动作代码
        /// </summary>
		[Display(Name = "动作代码", Description = "动作代码")]
        [Column("ActionCode")]
		[StringLength(256)]
        public string ActionCode { get; set; }   

		/// <summary>
        /// 动作名称
        /// </summary>
		[Display(Name = "动作名称", Description = "动作名称")]
        [Column("ActionName")]
		[StringLength(128)]
        public string ActionName { get; set; }   

		/// <summary>
        /// 动作说明
        /// </summary>
		[Display(Name = "动作说明", Description = "动作说明")]
        [Column("ActionRemark")]
		[StringLength(99999)]
        public string ActionRemark { get; set; }   
    }
}
